package com.cmc.cloud.cmclink.doc.convert;

import java.util.List;

import com.cmc.cloud.cmclink.doc.dto.CntrTeuDTO;
import com.cmc.cloud.cmclink.eqm.api.model.response.CommonCntrTypeDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import com.cmc.cloud.cmclink.doc.vo.sovo.approvespacevo.SoApproveSpaceResVO;
import com.cmc.cloud.cmclink.doc.vo.sovo.sovo.SoRespVO;

/**
 * 箱型最大载重维护 Convert
 *
 * @author 集运管理员
 */
@Mapper
public interface ApproveSpaceConvert {

    ApproveSpaceConvert INSTANCE = Mappers.getMapper(ApproveSpaceConvert.class);

    /**
     * 属性转换 convert
     *
     * @param list
     * @return so列表
     */
    List<SoApproveSpaceResVO> convertList(List<SoRespVO> list);

    /**
     * 属性转换 convert
     *
     * @param list
     * @return cntr列表
     */
    List<CntrTeuDTO> convertCntrList(List<CommonCntrTypeDTO> list);

}
